<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>购物车布局</title>
  <link href="css/cart.css" rel="stylesheet">
</head>

<body>

  <div id="app" class="container">

    <!-- 空购物车界面 -->
    <div class="empty-cart-message">
      <div class="empty-cart-image"></div>
      您的购物车空空如也
      <a href="#" class="go-checkout">去购物</a>
    </div>


    <div class="cart">
      <h1>科泰淘购物车</h1>
      <div class="clearfix">
        <a href="#" class="delete-selected">删除选中</a>
        <a href="#" class="clear-cart">清空购物车</a>
      </div>
      <div class="cart-item">
        <div class="cart-item-details">
          <input type="checkbox" class="cart-item-checkbox">
          <img src="images/goods-1.png" alt="男士休闲裤夏季新款">
          <div class="cart-item-name-sku">
            <div class="cart-item-name">男士休闲裤夏季新款</div>
            <div class="cart-item-sku">颜色：灰色 尺码：L</div>
          </div>
        </div>
        <div class="cart-item-quantity-price">
          <div class="cart-item-quantity">
            <button class="quantity-btn minus-btn">-</button>
            <input type="text" name="quantity" class="quantity" value="1">
            <button class="quantity-btn plus-btn">+</button>
          </div>
          <div class="cart-item-price">￥99.00</div>
        </div>
      </div>
      <div class="cart-item">
        <div class="cart-item-details">
          <input type="checkbox" class="cart-item-checkbox">
          <img src="images/goods-2.png" alt="男士夏季装短袖polo衫">
          <div class="cart-item-name-sku">
            <div class="cart-item-name">男士夏季装短袖polo衫</div>
            <div class="cart-item-sku">颜色：浅蓝 尺码：M</div>
          </div>
        </div>
        <div class="cart-item-quantity-price">
          <div class="cart-item-quantity">
            <button class="quantity-btn minus-btn">-</button>
            <input type="text" name="quantity" class="quantity" value="1">
            <button class="quantity-btn plus-btn">+</button>
          </div>
          <div class="cart-item-price">￥199.00</div>
        </div>
      </div>

      <div class="total-price-container">
        <div class="total-count">已选 <span class="count-value">0</span> 件</div>
        <div class="total-price">总计：￥298.00</div>
      </div>

      <div class="clearfix">
        <div class="select-all-container">
          <input type="checkbox" id="select-all-checkbox" class="cart-item-checkbox">
          <label for="select-all-checkbox">全选</label>
        </div>
        <a href="#" class="go-checkout">去结算</a>
      </div>
    </div>

  </div>

  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script src="js/cart-jquery.js"></script>
</body>

</html>